<div ng-controller='FapiaoAddCtrl as vm'>
  <h1 class="page-title">申请发票</h1>
  <form ng-submit="vm.applyFapiao()">
    <div class="control-group" ng-if="vm.userIsService">
          <label class="control-label">选择发票类型</label>
          <div class="controls">
            <select class="input-large" ng-model="vm.fapiaoType">
                <!-- <option ng-repeat="option in vm.optionList" value="{{option.value}}">{{option.name}}</option> -->
              <option ng-if="vm.needGeneralInvoice" value="">一般发票</option>
              <option ng-if="vm.needServiceInvoice" value="2">11%发票</option>
            </select>
            <p class="help-block"></p>
          </div>
        </div>
     <div class="controls">
          <button class="btn btn-primary" type="submit">确认申请</button>
        </div>
  </form>
</div>